import axios from '~/axios'

// 产业详情
export function industryecologyid(id){
    return axios.get(`/ecology/industryecologyid/${id}`)
}

// 咨讯详情
export function selrealinfobyid(id){
    return axios.get(`/realinfocenter/selrealinfobyid/${id}`)
}

// 企业生态详情
export function compecologyid(id){
    return axios.get(`/ecology/compecologyid/${id}`)
}
// sass企业生态详情
export function selorgsaasid(id){
    return axios.get(`/ecology/selorgsaasid/${id}`)
}


// sass详情
export function selsaasid(id){
    return axios.get(`/ecology/selsaasid/${id}`)
}

// 导师详情
export function industryteacherbyid(id){
    return axios.get(`/ecology/industryteacherbyid/${id}`)
}

// 赛事详情
export function selmatchbyid(id){
    return axios.get(`/matchcenter/selmatchbyid/${id}`)
}

// 企业生态查询
export function compecology(data){
    return axios.post("/ecology/compecology",data)
}

// 产业生态查询
export function industryecology(data){
    return axios.post("/ecology/industryecology",data)
}

// 导师查询
export function industryteacher(data){
    return axios.post("/ecology/industryteacher",data)
}

// sass查询
export function selsaas(data){
    return axios.post("/ecology/selsaas",data)
}

// 赛事分页
export function selmatch(data){
    return axios.post("/matchcenter/selmatch",data)
}

// 赛事报名
export function enroll(data){
    return axios.post("/matchcenter/enroll",data)
}



// 人才培训分页
export function seltrains(data){
    return axios.post("/talentcenter/seltrains",data)
}
// 人才培训详情
export function seltrainbyid(id){
    return axios.get(`/talentcenter/seltrainbyid/${id}`)
}


// 企业招聘信息分页
export function selcompanyrecruit(data){
    return axios.post("/talentcenter/selcompanyrecruit",data)
}

// 企业招聘信息详情
export function selcompanyrecruitbyid(id){
    return axios.get(`/talentcenter/selcompanyrecruitbyid/${id}`)
}
// 分页查询资讯
export function selrealinfo(data){
    return axios.post("/realinfocenter/selrealinfo",data)
}


// 分页查询商品
export function selgoods(data){
    return axios.post("/shopping/selgoods",data)
}

// 商品详情
export function selgoodsbyid(id){
    return axios.get(`/shopping/selgoodsbyid/${id}`)
}

// 分页查询文库
export function sellibrary(data){
    return axios.post("/library/sellibrary",data)
}


// 人才培训报名
export function talentcenterEnroll(data){
    return axios.post("/talentcenter/enroll",data)
}